//
//  GPLongPressMenuController.h
//  Keping
//
//  Created by 23 on 2017/12/9.
//  Copyright © 2017年 柯平. All rights reserved.
//

#import <UIKit/UIKit.h>
@class GPContactModel;

typedef NS_ENUM(NSInteger, GPLongPressMenuType) {
    GPLongPressMenuTypeProfile          = 1000,     //查看个人资料
    GPLongPressMenuTypeVoice            = 1001,     //音频通话
    GPLongPressMenuTypeVideo            = 1002,     //视频通话
    GPLongPressMenuTypePhone            = 1003,     //打电话
    GPLongPressMenuTypeBlock            = 1004,     //加入黑名单
    GPLongPressMenuTypeContent          = 1005,     //点击背景
};

@protocol  GPLongPressMenuControllerDelegate <NSObject>

- (void)menuType:(GPLongPressMenuType)type didItemClicked:(GPContactModel *)contact;

@end

@interface GPLongPressMenuController : UIViewController

/**contact*/
@property(nonatomic,strong) GPContactModel *contact;

/**代理*/
@property(nonatomic,weak) id<GPLongPressMenuControllerDelegate> delegate;

@end
